Heart Failure Prediction1

age Age

anaemia Decrease of red blood cells or hemoglobin (boolean)

creatinine_phosphokinase Level of the CPK enzyme in the blood (mcg/L)

diabetes If the patient has diabetes (boolean)

ejection_fraction Percentage of blood leaving the heart at each contraction (percentage)

high_blood_pressure If the patient has hypertension (boolean)

platelets Platelets in the blood (kiloplatelets/mL)

serum_creatinine Level of serum creatinine in the blood (mg/dL)

serum_sodium Level of serum sodium in the blood (mEq/L)

sex Woman or man (binary)

smoking If the patient smokes or not (boolean)

time Follow-up period (days)

DEATH_EVENT If the patient deceased during the follow-up period (boolean)

Performing EDA on the datase

Gender factor Analysis

A close look at this digram aboove shows that the Not survival rate cut cross all groups. And also, survival is high on 40 to 80

Age Report

Survival spread is high in age's flow of 40 to 70 The Survival is high for both male between 50 to 60 and female's age between 60 to 70 respectively

Other factors

Histogram plots

Distribution plots Survived and Not-Survived

Pie Charts

From the above pie chart i can conclude that in i the dataset 58.2% (174) pepole are No Diabetes Person and 41.8% (125) are Diabetes Person.

From the above pie chart we can conclude that in our dataset 56.9%(170) pepoles are Non anaemic pepoles, while 43.1%(129) are anaemic pepoles.

From the above pie chart we can conclude that in our dataset 64.9%(194) pepoles are Non High BP pepoles, while 35.1%(105) are High BP pepoles.

From the above pie chart we can conclude that in our dataset 67.9%(203) pepoles are Non Smoking pepoles, while 32.1%(96) are Smoking pepoles.

From above pie charts we can conclude that in our dataset diabetes from 203 of Non Smoking person 137 are survived and 66 are not survived and From 96 Smoking person 66 are survived, while 30 are not survived.

Heatmap

Data Modeling

Train Test Split